from django.contrib import admin
from .models import *


# Register your models here.


# 班级
class ClassAdmin(admin.ModelAdmin):
    list_display = ['name']
    list_filter = ['name']
    search_fields = ['name']
admin.site.register(ClassModel, ClassAdmin)